Document Signature Process
Identifier of the document resource
URI
/trustedx-resources/esignsp/v2/signer_processes/{signature_process_id}Description
Resource containing information on a signature process for documents.
Representation
A signature process for documents is represented in JSON as follows:
{ "id" : {string}, "self" : {string}, "process_type" : {string}, "signing_information" : { "labels" : [ {string} ], "sign_identity" : { "id" : {string}, "url" : {string} } }, "result" : { "status": {string}, "details": { "message": {string} } ] }, "documents" : [ { "id" : {string}, "url" : {string}, "content" : {string}, "result" : { "status": {string}, "details": { "message": {string} } } } ]}|
Property |
Description |
|
id |
Identifier of the signature process. This property is optional and only present when the representation is for an already created signature process. |
|
self |
URL of the signature process. This property is optional and only present when the representation is for an already created signature process. |
|
process_type |
Signature process type. This property supports two values:
|
signing_information |
Information on the signing identity used by the process. This property is optional. It is only present if the user has already selected the signing identity with which they want to sign (for signing identities managed by TRIDENT, i.e., for an identity in a schema of the signature provider) or if they specified that they want to sign with a signing identity managed by an external application, i.e., with an identity of an external application schema. |
signing_information.labels |
Signing identity labels selected by the user where the signing identity is managed by TRIDENT. Alternatively, labels of the schema selected by the user where the schema is an external application schema. |
signing_information.sign_identity |
This property is optional. It is only present if the user selected a signing identity managed by TRIDENT. |
signing_information.sign_identity.id |
Identifier of the signing identity selected by the user and managed by TRIDENT. |
signing_information.sign_identity.url |
Access URL for the signing identity selected by the user and managed by TRIDENT. |
|
result |
Result of the signature process. Only finished signature processes have this property. |
|
result.status |
Final status of the signature process:
|
|
result.details.message |
This property is only present if the conditions in which the signature process finished and its value is the message with this information. It is often used so that an external signature method provides details on why a process ended with error. |
|
tasks |
Information provided by TRIDENT on the tasks making up the process. TRIDENT currently only informs on pending tasks, i.e., tasks that the client application must perform for the process to continue. |
|
tasks.pending[] |
Information on the tasks that the client application must perform for the signature process to continue. TRIDENT currently always indicates only one task that is always of the "UserBrowserTask" type. |
|
tasks.pending[].id |
Identifier of one of the tasks that the client application must perform. |
|
tasks.pending[].type |
Type of one of the tasks that the client application must perform. This property currently always has the value "UserBrowserTask". This value identifies a type of task that consists in redirecting the user's browser to a specific URL. |
|
tasks.pending[].url |
This property is only present for "UserBrowserTask" type pending tasks and its value is the URL to which the client application must redirect the user's browser so this task can be performed. |
|
documents[] |
Information of the document and signature definitions resource associated to the signature process. |
|
documents[].url |
URL of one of the document and signature definitions resources. |
|
documents[].id |
Identifier of one of the document and signature definitions resources. |
|
documents[].content |
URL of the document that contains one of the document and signature definitions resources. |
|
documents[].result |
Result of the signature process for the document that contains one of the document and signature definitions resources.
|
|
documents[].details.message |
Message that describes the error when the result of the signature process for the document that contains one of the document and signature definitions resources is failed. |